<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8" />
		<title></title>
		<meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no" />
		<link rel="stylesheet" type="text/css" href="css/common.css"/>
		<link rel="stylesheet" type="text/css" href="css/bootpage.css"/>
		
	</head>
	<body>
		<div class="web">
			
			<div class="logo">
				<img src="img/boot_logo.png"/>
			</div>
			
			<div class="loginbtn clearfix">
				<div class="login fl"><a href="loginpage.html">登录</a></div>
				<div class="register fr"><a href="register.html">免费注册</a></div>
			</div>
			
			
		</div>
		
		<script>
		 document.body.style.height  = window.innerHeight+"px";
 </script>

<script>
/*动态改变根元素字体大小*/
			function recalc() {
				var clientWidth = document.documentElement.clientWidth;
				if(!clientWidth) return;
				document.documentElement.style.fontSize = 40 * (clientWidth /750) + 'px';
													//字体大小 =   1rem单位表示多少个像素* (设备的宽度/设计图宽度)
			}

			function initRecalc() {
				recalc();
				var resizeEvt = 'osrientationchange' in window ? 'orientationchange' : 'resize';
				if(!document.addEventListener) return;
				window.addEventListener(resizeEvt, recalc, false);
				document.addEventListener('DOMContentLoaded', recalc, false);
			}
			initRecalc();
			</script>
	</body>
</html>
